/*
 * @Author: lsmi
 * @Date: 2021-06-08 21:03:21
 * @LastEditors: lsmi
 * @LastEditTime: 2021-06-10 21:13:02
 * @FilePath: \v3_play_js\tailwind.config.js
 */
const colors = require("tailwindcss/colors");
module.exports = {
  purge: ["./src/**/*.html", "./src/**/*.vue", "./src/**/*.js"],
  purgeCSS: {
    whitelistPatterns: [/el-.+$/],
    whitelistPatternsChildren: [/el-.+$/],
  },
  corePlugins: {
    // 关闭display
    // display: false,
  },
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
    // 把tailwind全部的颜色导出
    colors,
  },
  variants: {
    extend: {
      // 开启hover变体
      display: ["hover", "focus"],
    },
  },
  plugins: [],
};
